package cn.com.company.main.client.control;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.store.ListStore;
import com.extjs.gxt.ui.client.widget.grid.GridViewConfig;

public class IcbomViewConfig extends GridViewConfig {

	public IcbomViewConfig() {

	}

	@SuppressWarnings("rawtypes")
	public String getRowStyle(ModelData model, int rowIndex, ListStore ds) {
		String fuseStatus = model.get("fuseStatus");
		String fstatus = model.get("fstatus");
		if ("使用".equals(fuseStatus) && "已审核".equals(fstatus)) {
			return "grid_user_checked";
		} else {
			return "";
		}
	}
}
